package com.sahyadri.web.util.exception;

@SuppressWarnings("serial")
public class AuthenticationException extends Exception {

	private String errorCode;
	private String errorMessage;
	private String loginId;

	public AuthenticationException() {
		super();

	}

	public AuthenticationException(String message, Throwable cause) {
		super(message, cause);
		this.errorMessage = message;
	}

	public AuthenticationException(String message) {
		super(message);
		this.errorMessage = message;
	}

	public AuthenticationException(Throwable cause) {
		super(cause);
	}

	public AuthenticationException(String errorCode, String errorMessage,
			String loginId) {
		super();
		this.errorCode = errorCode;
		this.errorMessage = errorMessage;
		this.loginId = loginId;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public String getLoginId() {
		return loginId;
	}

}
